package com.gxa.insurance.service;

import com.gxa.insurance.exception.BusinessException;
import com.gxa.insurance.pojo.Refund;
import com.gxa.insurance.pojo.RefundType;

import java.util.List;
import java.util.Map;

/**
 * @author Min
 */
public interface RefundService {
    Map<String,Object> selectRefundByPage(Integer page, Integer pageSize);

    Map<String, Object> selectByStatus(String status, Integer page, Integer pageSize);

    Boolean updateIsReturn(Boolean returnMoney,String status,Integer id);

    Boolean isRefuse(Map<String, String> map) throws BusinessException;

    List<RefundType> selectAllStatus();
}
